﻿using System;
namespace Maticsoft.Model
{
	/// <summary>
	/// T_Plan:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class T_Plan
	{
		public T_Plan()
		{}
		#region Model
        private string _id = System.Guid.NewGuid().ToString();
		private string _doctorname;
		private string _doctorplan;
		private DateTime _plandate;
        private bool _del=false;
        public bool Del
        {
            set { _del = value; }
            get { return _del; }
        }

        private string time_str;
        public string Time_Str
        {
            set
            {
                time_str = value;
                _plandate = DateTime.ParseExact(time_str, "MM-dd HH:mm", null);
            }
            get
            {
                time_str = _plandate.ToString("MM-dd HH:mm");
                return time_str;
            }
        }
		/// <summary>
		/// 
		/// </summary>
		public string Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Name
		{
			set{ _doctorname=value;}
			get{return _doctorname;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Plan
		{
			set{ _doctorplan=value;}
			get{return _doctorplan;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime PlanDate
		{
			set{ _plandate=value;}
			get{return _plandate;}
		}
		#endregion Model

	}
}

